package com.njkwt.business.system.dto;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
* @Class RelevanceDto
* @Description
* @Author ydj (171799383@qq.com)
* @Date 2020-8-18 14:12:32
* @Version V1.0
**/


public class RelevanceDto {

    /**
     * 流水号
     */
    private String id;

    /**
     * 描述
     */
    private String description;

    /**
     * 映射标识
     */
    private String key;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 授权时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date operatetime;

    /**
     * 授权人
     */
    private String operatorid;

    /**
     * 第一个表主键ID
     */
    private String firstid;

    /**
     * 第二个表主键ID
     */
    private String secondid;

    /**
     * 第三个表主键ID
     */
    private String thirdid;

    /**
     * 扩展信息
     */
    private String extendinfo;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getOperatetime() {
        return operatetime;
    }

    public void setOperatetime(Date operatetime) {
        this.operatetime = operatetime;
    }

    public String getOperatorid() {
        return operatorid;
    }

    public void setOperatorid(String operatorid) {
        this.operatorid = operatorid;
    }

    public String getFirstid() {
        return firstid;
    }

    public void setFirstid(String firstid) {
        this.firstid = firstid;
    }

    public String getSecondid() {
        return secondid;
    }

    public void setSecondid(String secondid) {
        this.secondid = secondid;
    }

    public String getThirdid() {
        return thirdid;
    }

    public void setThirdid(String thirdid) {
        this.thirdid = thirdid;
    }

    public String getExtendinfo() {
        return extendinfo;
    }

    public void setExtendinfo(String extendinfo) {
        this.extendinfo = extendinfo;
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", description=").append(description);
        sb.append(", key=").append(key);
        sb.append(", status=").append(status);
        sb.append(", operatetime=").append(operatetime);
        sb.append(", operatorid=").append(operatorid);
        sb.append(", firstid=").append(firstid);
        sb.append(", secondid=").append(secondid);
        sb.append(", thirdid=").append(thirdid);
        sb.append(", extendinfo=").append(extendinfo);
        sb.append("]");
        return sb.toString();
    }

}